<?php

namespace app\model;

use think\Model;
use think\model\relation\HasOne;

class AdminMerchant extends Model
{
    public function merchant(): HasOne
    {
        return $this->hasOne(Merchant::class, 'id', 'mer_id');
    }
}
